Register<TInterface, TImpl>()

Method

Namespace: Ignis

Declared in: Ignis.IContainer<TState>


Register an interface implementation in this container.

Syntax

public IContainer<TState> Register<TInterface, TImpl>()

Type parameters

TInterface

Interface type (will be used for Resolve(Type)

TImpl

Implementing type


Back to index